#ifndef serial_communication_h
#define serial_communication_h

int portRead(int portIdx, int* values, int maxLen);
void portWrite(int portIdx, int* values, int len);
void broadcastForward(int* values, int len);
void forward(int* values, int len);
void initCommunication();
void broadcastStateColor();

#endif

